#include <windows.h>

void gotoxy(int x, int y)
{
    COORD pos = {x, y};
    HANDLE output = GetStdHandle(STD_OUTPUT_HANDLE);
    SetConsoleCursorPosition(output, pos);
}

int main()
{
        printf("This is the line 1\n");
        printf("This is the line 2\n");
        printf("This is the line 3\n");
        printf("This is the line 4\n");


        gotoxy(0, 0);
        printf("This is ASH\n");
        getch();

}
